<script lang="ts" setup>
import { useRouter, useRoute } from "vue-router";

const { query, params } = useRoute();
const { path } = params;
const { replace } = useRouter();
const redirectPath = Array.isArray(path) ? path[0] : path;
replace({ path: redirectPath });
</script>

<template>
  <div></div>
</template>
